package com.ease.framework.gef4p.actions
{
	import com.ease.framework.assets.icons.align.AlignIconFactory;
	
	public class TopAlignButton extends AlignButton
	{
		
		public static const xml:XML =  
							        <root>
							            <menuitem label='置于顶层' id='toTop'/>
							            <menuitem label='上移一层' id='oneLayerUp'/>
							        </root>;
		public function TopAlignButton()
		{
			super();
			
			xmlData = xml;
			
			setStyle("icon",AlignIconFactory.iconToTop);
			
			currentAlign = "toTop";
		}
		
	}
}